package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sys_org
 * 
 * @author hcc
 * @date 2023-12-18
 */
public class SysOrg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 父机构ID */
    @Excel(name = "父机构ID")
    private String parentId;

    /** 机构/部门名称 */
    @Excel(name = "机构/部门名称")
    private String orgName;

    /** 负责人 */
    @Excel(name = "负责人")
    private String leader;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String mobile;

    /** 部门职责 */
    @Excel(name = "部门职责")
    private String orgResponsibilities;

    /** 是否外包0-非外包1-外包 */
    @Excel(name = "是否外包0-非外包1-外包")
    private Integer outsource;

    /** 排序 */
    @Excel(name = "排序")
    private Long orgOrder;

    /** 机构类别 1公司，2组织机构，2岗位 */
    @Excel(name = "机构类别 1公司，2组织机构，2岗位")
    private String orgCategory;

    /** 机构类型 1一级部门 2子部门 */
    @Excel(name = "机构类型 1一级部门 2子部门")
    private String orgType;

    /** 机构编码 */
    @Excel(name = "机构编码")
    private String orgCode;

    /** 传真 */
    @Excel(name = "传真")
    private String fax;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 状态（1启用，0不启用） */
    @Excel(name = "状态", readConverterExp = "1=启用，0不启用")
    private String status;

    /** 删除状态（0，正常，1已删除） */
    private String delFlag;

    /** 租户ID */
    @Excel(name = "租户ID")
    private Long tenantId;

    /** 是否有叶子节点: 1是0否 */
    @Excel(name = "是否有叶子节点: 1是0否")
    private Integer izLeaf;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String userName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String userIds;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String deptType;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setParentId(String parentId) 
    {
        this.parentId = parentId;
    }

    public String getParentId() 
    {
        return parentId;
    }
    public void setOrgName(String orgName) 
    {
        this.orgName = orgName;
    }

    public String getOrgName() 
    {
        return orgName;
    }
    public void setLeader(String leader) 
    {
        this.leader = leader;
    }

    public String getLeader() 
    {
        return leader;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setOrgResponsibilities(String orgResponsibilities) 
    {
        this.orgResponsibilities = orgResponsibilities;
    }

    public String getOrgResponsibilities() 
    {
        return orgResponsibilities;
    }
    public void setOutsource(Integer outsource) 
    {
        this.outsource = outsource;
    }

    public Integer getOutsource() 
    {
        return outsource;
    }
    public void setOrgOrder(Long orgOrder) 
    {
        this.orgOrder = orgOrder;
    }

    public Long getOrgOrder() 
    {
        return orgOrder;
    }
    public void setOrgCategory(String orgCategory) 
    {
        this.orgCategory = orgCategory;
    }

    public String getOrgCategory() 
    {
        return orgCategory;
    }
    public void setOrgType(String orgType) 
    {
        this.orgType = orgType;
    }

    public String getOrgType() 
    {
        return orgType;
    }
    public void setOrgCode(String orgCode) 
    {
        this.orgCode = orgCode;
    }

    public String getOrgCode() 
    {
        return orgCode;
    }
    public void setFax(String fax) 
    {
        this.fax = fax;
    }

    public String getFax() 
    {
        return fax;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }
    public void setIzLeaf(Integer izLeaf) 
    {
        this.izLeaf = izLeaf;
    }

    public Integer getIzLeaf() 
    {
        return izLeaf;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserIds(String userIds) 
    {
        this.userIds = userIds;
    }

    public String getUserIds() 
    {
        return userIds;
    }
    public void setDeptType(String deptType) 
    {
        this.deptType = deptType;
    }

    public String getDeptType() 
    {
        return deptType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("orgName", getOrgName())
            .append("leader", getLeader())
            .append("mobile", getMobile())
            .append("orgResponsibilities", getOrgResponsibilities())
            .append("outsource", getOutsource())
            .append("orgOrder", getOrgOrder())
            .append("orgCategory", getOrgCategory())
            .append("orgType", getOrgType())
            .append("orgCode", getOrgCode())
            .append("fax", getFax())
            .append("address", getAddress())
            .append("memo", getMemo())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("tenantId", getTenantId())
            .append("izLeaf", getIzLeaf())
            .append("userName", getUserName())
            .append("userIds", getUserIds())
            .append("deptType", getDeptType())
            .toString();
    }
}
